package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商对象 oa_suppliers
 * 
 * @author ruoyi
 * @date 2025-03-11
 */
public class OaSuppliers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供应商唯一标识 */
    private Long supplierId;

    /** 类名 */
    @Excel(name = "类名")
    private String categoryName;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 供应商简介 */
    @Excel(name = "供应商简介")
    private String supplierIntroduction;

    /** 供应商联系人姓名 */
    @Excel(name = "供应商联系人姓名")
    private String contactPerson;

    /** 供应商联系人联系电话 */
    @Excel(name = "供应商联系人联系电话")
    private String contactPhone;

    /** 供应商地址 */
    @Excel(name = "供应商地址")
    private String address;

    /** 供应商信息创建时间，默认值为当前时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "供应商信息创建时间，默认值为当前时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }

    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }

    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }

    public void setSupplierIntroduction(String supplierIntroduction) 
    {
        this.supplierIntroduction = supplierIntroduction;
    }

    public String getSupplierIntroduction() 
    {
        return supplierIntroduction;
    }

    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierId", getSupplierId())
            .append("categoryName", getCategoryName())
            .append("supplierName", getSupplierName())
            .append("supplierIntroduction", getSupplierIntroduction())
            .append("contactPerson", getContactPerson())
            .append("contactPhone", getContactPhone())
            .append("address", getAddress())
            .append("creationTime", getCreationTime())
            .toString();
    }
}
